package com.yonyou.brigade.third_parties.ctrip.bigcustomer.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-08-17
 */
@TableName("ctrip_big_user")
public class CtripBigUser extends Model<CtripBigUser> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String phone;
    @TableField("user_code")
    private String userCode;
    @TableField("user_name")
    private String userName;
    private Integer valid;
    private String email;
    @TableField("dept_name")
    private String deptName;
    @TableField("father_dept_name")
    private String fatherDeptName;
    @TableField("dept_id")
    private String deptId;
    @TableField("dest_email")
    private String destEmail;
    @TableField("user_id")
    private String userId;
    @TableField("org_name")
    private String orgName;
    @TableField("rank_name")
    private String rankName;
    @TableField("post_name")
    private String postName;
    @TableField("is_book_class")
    private String isBookClass;

    @TableField("person_code")
    private String personCode;

    @TableField("org_pk")
    private String orgPk;

    @TableField("tenant")
    private String tenant;

    @TableField("intl_book_class_block")
    private String intlBookClassBlock;
    private Date ts;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getFatherDeptName() {
        return fatherDeptName;
    }

    public void setFatherDeptName(String fatherDeptName) {
        this.fatherDeptName = fatherDeptName;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDestEmail() {
        return destEmail;
    }

    public void setDestEmail(String destEmail) {
        this.destEmail = destEmail;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getRankName() {
        return rankName;
    }

    public void setRankName(String rankName) {
        this.rankName = rankName;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getIsBookClass() {
        return isBookClass;
    }

    public void setIsBookClass(String isBookClass) {
        this.isBookClass = isBookClass;
    }

    public String getIntlBookClassBlock() {
        return intlBookClassBlock;
    }

    public void setIntlBookClassBlock(String intlBookClassBlock) {
        this.intlBookClassBlock = intlBookClassBlock;
    }

    public String getPersonCode() {
        return personCode;
    }

    public void setPersonCode(String personCode) {
        this.personCode = personCode;
    }

    public String getOrgPk() {
        return orgPk;
    }

    public void setOrgPk(String orgPk) {
        this.orgPk = orgPk;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String PHONE = "phone";

    public static final String USER_CODE = "user_code";

    public static final String USER_NAME = "user_name";

    public static final String VALID = "valid";

    public static final String EMAIL = "email";

    public static final String DEPT_NAME = "dept_name";

    public static final String FATHER_DEPT_NAME = "father_dept_name";

    public static final String DEPT_ID = "dept_id";

    public static final String DEST_EMAIL = "dest_email";

    public static final String USER_ID = "user_id";

    public static final String ORG_NAME = "org_name";

    public static final String RANK_NAME = "rank_name";

    public static final String IS_BOOK_CLASS = "is_book_class";

    public static final String INTL_BOOK_CLASS_BLOCK = "intl_book_class_block";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CtripBigUser{" +
        "id=" + id +
        ", phone=" + phone +
        ", userCode=" + userCode +
        ", userName=" + userName +
        ", valid=" + valid +
        ", email=" + email +
        ", deptName=" + deptName +
        ", fatherDeptName=" + fatherDeptName +
        ", deptId=" + deptId +
        ", destEmail=" + destEmail +
        ", userId=" + userId +
        ", orgName=" + orgName +
        ", rankName=" + rankName +
        ", isBookClass=" + isBookClass +
        ", intlBookClassBlock=" + intlBookClassBlock +
        ", ts=" + ts +
        "}";
    }
}
